package com.lsh.oms.core.enums;

/**
 * Project Name: lsh-oms
 *
 * @author peter
 * @date 18/2/27
 * 北京链商电子商务有限公司
 * Package
 * desc:
 */
public enum TaskStatus {
    /**
     *
     */
    TASK_UN_DEAL(0, "undeal"),
    TASK_DEAL_SUCCESS(1, "success"),
    TASK_DEAL_FAIL(2, "fail"),
    TASK_RUNNING(3, "running");

    private int code;
    private String name;

    TaskStatus(int code, String name) {
        this.code = code;
        this.name = name;
    }

    public int getCode() {
        return code;
    }

    public String getName() {
        return name;
    }
}
